package com.example.casper.Experiment2024.entity;

import java.io.Serializable;

public class BookInfo implements Serializable {

    private int photo;
    private String title;

    public BookInfo(int photo, String title) {
        this.photo = photo;
        this.title = title;
    }

    public int getPhoto() {
        return photo;
    }

    public void setPhoto(int photo) {
        this.photo = photo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "BookInfo{" +
                "photo=" + photo +
                ", title='" + title + '\'' +
                '}';
    }
}